import type { PagedResultDto } from '@/models/paged-result';
import { httpApi } from '@/utils/axios/http';
import url from '@/utils/axios/url';
import type { AuditLogDto, AuditLogResultRequestDto } from '../models/audit-log';

export function getAuditLogsApi(input: AuditLogResultRequestDto): Promise<PagedResultDto<AuditLogDto>> {
    return httpApi.httpGet({ url: url.auditLog, params: input });
}